Method and system for transmitting scanned data to host from network scanner

ABSTRACT

A method and system for transmitting scanned data from a network scanner to a host are provided, in which a port is set in the host to receive the scanned data when the host and the scanner are connected via a network, the host is accessed from the scanner to detect port information regarding the set port, and the scanned data is transmitted from the scanner to the host via the port corresponding to the detected port information. Therefore, the inconvenience of having to search a scanner from a host and then receiving scanned data when using a network scanner is eliminated and the scanned data can be directly transmitted from the network scanner to the host.

CROSS-REFERENCE TO RELATED PATENT APPLICATIONS

This application claims the benefit under 35 U.S.C. § 119(a) of KoreanPatent Application No. 10-2005-0067845, filed on Jul. 26, 2005 in theKorean Intellectual Property Office, the entire disclosure of which ishereby incorporated by reference.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to network scanning. More particularly,the present invention relates to a method and system for directlytransmitting scanned data from a network scanner to a host withoutoperating the host.

2. Description of the Related Art

A host and a scanner form a network for performing a network scanningoperation. The scanning operation includes, first, setting a port of thehost to receive scanned data. Thereafter, a scanner to perform thescanning operation is searched and set port information is transmittedto the scanner. The scanner registers the port to which the scanned datais to be transmitted using the received port information. The scannertransmits the scanned data to the host via the registered port afterperforming the scanning operation.

However, setting a port for receiving scanned data in a host,transmitting information on a port selected by a user to a scanner, andregistering the received port by the scanner is inconvenient, as in aconventional network scanning method. Therefore, scanned data cannot beindependently transmitted to a port of a host by a scanner without anoperation of the host.

SUMMARY OF THE INVENTION

An aspect of exemplary embodiments of the present invention is toaddress at least the above problems and/or disadvantages and to provideat least the advantages described below. Accordingly, an aspect ofexemplary embodiments of the present invention is to provide a methodand system for transmitting scanned data from a network scanner to ahost so that the scanned data can be transmitted directly from thescanner to the host without receiving information on a port set in thehost from the host.

According to an aspect of exemplary embodiments of the presentinvention, there is provided a method of transmitting scanned data froma network scanner to a host, in which a port is set in the host toreceive the scanned data when the host and the scanner are connected viaa network; the host is accessed from the scanner to detect portinformation regarding the set port; and the scanned data is transmittedfrom the scanner to the host via the port corresponding to the detectedport information.

According to another aspect of exemplary embodiments of the presentinvention, there is provided a system for transmitting scanned data froma network scanner to a host, the host and the scanner being connectedvia a network, in which the host includes a port setting unit, and thescanner includes a port information detecting unit which accesses thehost to detect port information regarding a set port; and a datatransmitting unit transmits the scanned data to the host via the setport corresponding to the detected port information.

BRIEF DESCRIPTION OF THE DRAWINGS

The above and other objects, features and advantages of certainexemplary embodiments of the present invention will be more apparentfrom the following description taken in conjunction with theaccompanying drawings, in which:

FIG. 1 is a flow chart illustrating a method of transmitting scanneddata from a network scanner to a host according to an exemplaryembodiment of the present invention;

FIG. 2 is a flow chart illustrating a method of setting a port in thehost described in FIG. 1 according to an exemplary embodiment of thepresent invention;

FIG. 3 is a flow chart illustrating a method of accessing the host fromthe scanner to detect port information regarding the set port describedin FIG. 1;

FIGS. 4A and 4B are views for explaining how the scanner detects portinformation set in the host according to an exemplary embodiment of thepresent invention; and

FIG. 5 is a block diagram illustrating a system for transmitting scanneddata from a network scanner to a host according to an exemplaryembodiment of the present invention.

Throughout the drawings, the same drawing reference numerals will beunderstood to refer to the same elements, features, and structures.

DETAILED DESCRIPTION OF EXEMPLARY EMBODIMENTS

The matters defined in the description such as a detailed constructionand elements are provided to assist in a comprehensive understanding ofthe embodiments of the invention. Accordingly, those of ordinary skillin the art will recognize that various changes and modifications of theembodiments described herein can be made without departing from thescope and spirit of the invention. Also, descriptions of well-knownfunctions and constructions are omitted for clarity and conciseness.

FIG. 1 is a flow chart illustrating a method of transmitting scanneddata from a network scanner to a host according to an exemplaryembodiment of the present invention.

First, when the host and the scanner are connected via a network, a portin the host for receiving scanned data is set (operation 100).

The host subdivides a setting region of the port into predeterminedranges. For example, the host can specify a first port region as portnumbers ranging from 5500 to 5510, a second port region as port numbersranging from 6500 to 6510, a third port region as port numbers rangingfrom 7500 to 7510, a fourth port region as port numbers ranging from8500 to 8510, and a fifth port region as port numbers ranging from 9500to 9510. By subdividing the setting region of the port, the time takento search set ports in the scanner to transmit scanned data, which willbe described later, can be minimized.

As described above, one of the ports in the subdivided port settingregions is set as the port to receive scanned data.

FIG. 2 is a flow chart illustrating the setting of the port in the host(operation 100) described in FIG. 1.

First, ports of the host are searched to detect unused ports (operation200). Ports that are not currently in use among a plurality of portsincluded in the host are detected.

After operation 200, one of the unused ports is set as the port toreceive scanned data (operation 202).

After operation 202, hypertext transfer protocol (HTTP) port informationof the set port is generated and stored (operation 204). HTTP is acommunication standard used for exchanging hypertext documents between aweb server and a client browser in the Internet.

By generating port information according to HTTP, the scanner can accessinformation on the set port in the host via the web server, which willbe described later.

Referring back to FIG. 1, after operation 100, the scanner accesses thehost to detect information on the set port (operation 102).

FIG. 3 is a flow chart illustrating the accessing of the host from thescanner to detect the port information regarding the set port (operation102) described in FIG. 1.

First, a host is searched using a network address of the host (operation300). The network address of the host can be stored in the scanner inadvance, or a user can directly input the network address. A search isconducted to determine whether the host corresponding to the networkaddress input by the user using the scanner is forming a network withthe scanner.

After operation 300, a determination is made as to whether the searchedhost is provided with a web service (operation 302). When the hostcorresponding to the network address input by the user is searched, adetermination is made as to whether a web service which provides variousonline services is provided in the host. Here, the searched host may beprovided with one of an Internet and an intranet as the web service. TheInternet is a vast collection of inter-connected networks, and theintranet is an information system which shares data within a specificorganization on a small scale using Internet technology and networkstandards.

If the searched host is provided with a web service, HTTP portinformation is fetched and received (operation 304). If the searchedhost is provided with a web service, the scanner can receive a documentaccording to HTTP. Therefore, previously stored HTTP port information inthe searched host is fetched and received.

After operation 304, the received port information is interpreted todetect port information regarding the set port (operation 306). Byinterpreting the HTTP port information, port information set by the hostfor receiving previously scanned data is detected.

In operation 302, if the searched host is not provided with a webservice, the process moves on to operation 306. If the searched host isnot provided with a web service, the scanner cannot fetch and receiveport information according to HTTP. Therefore, the scanner directlysearches ports of the searched host sequentially to detect a previouslyset port by the host. Since the scanner searches sequentially, a lot oftime is consumed. As described above, by the host subdividing thesetting region of the port into predetermined ranges, the settingregions for searching the port are limited to small ranges, therebyreducing the time consumed for detecting the port.

FIGS. 4A and 4B are views for explaining how the scanner detects the setport information in the host.

FIG. 4A is a view for illustrating a process of detecting the set portinformation from the host when the searched host receives a web service,and FIG. 4B is a view for illustrating a process of sequentiallyscanning the port setting regions of the searched host to detect the setport information.

After operation 102, the scanned data scanned by the scanner istransmitted to the host via the port corresponding to the detected portinformation (operation 104).

In operation 102, when the port information is detected, the scanneddata is transmitted to the port of the host corresponding to thedetected port information.

The method of transmitting the scanned data from the network scanner tothe host of the present invention described above can be embodied ascomputer readable codes/instructions/programs, and can be implemented ingeneral-use digital computers that execute thecodes/instructions/programs using a medium, for example, a computerreadable recording medium.

Examples of the computer readable recording medium include magneticstorage media (for example, ROM, floppy disks, hard disks, magnetictapes, and the like), optical recording media (for example, CD-ROMs orDVDs), and storage media such as carrier waves (for example,transmission through the Internet). In addition, the computer readablerecording medium can also be distributed over network coupled computersystems so that the computer readable codes/instructions/programs can bestored and executed in a distributed fashion. Also, functional programs,codes, and code segments for implementing certain exemplary embodimentsof the present invention can be easily construed by programmers skilledin the art to which the present invention pertains.

Hereinafter, a system for transmitting scanned data from a networkscanner to a host of the present invention will now be described morefully with reference to the accompanying drawings, in which exemplaryembodiments of the present invention are shown.

FIG. 5 is a block diagram illustrating a system for transmitting scanneddata from a network scanner to a host according to an exemplaryembodiment of the present invention. The system includes a host 400 anda scanner 500 forming a network with the host 400.

The host 400 includes a port setting unit 410.

The port setting unit 410 sets a port for receiving the scanned datagenerated in the scanner 500.

The port setting unit 410 subdivides a port setting region intopredetermined ranges. By subdividing the port setting region, less timeis spent searching for the port set for transmitting the scanned datafrom the scanner 500.

To perform the function described above, the port setting unit 410includes an unused port detector 412, setting unit 414, and portinformation generator 416.

The unused port detector 412 searches ports of the host 400 to detectports that are not currently in use among a plurality of ports, andoutputs the result to the setting unit 414.

The setting unit 414 responds to the result output from the unused portdetector 412 and sets one of the unused ports as the port to receivedscanned data and outputs the setting result to the port informationgenerator 416.

The port information generator 416 generates port information accordingto HTTP regarding the port set in the setting unit 414. Since the portinformation generator 416 generates the HTTP port information, thescanner 500 can access information on the port set in the host 400 via aweb service.

The scanner 500 includes a port information detecting unit 510 and adata transmitting unit 530.

The port information detecting unit 510 accesses the host 400 to detectport information on the set port.

To perform the function described above, the port information detectingunit 510 includes a host searching unit 512, web service inspecting unit514, port information fetching unit 516, and detecting unit 518.

The host searching unit 512 searches the host 400 using a networkaddress of the host 400, and outputs the result to the web serviceinspecting unit 514.

The network address of the host 400 may be stored in the scanner 500 inadvance, or a user may directly input the network address. The hostsearching unit 512 searches whether the host 400 corresponding to thenetwork address forms a network with the scanner 500.

The web service inspecting unit 514 inspects whether the host 400searched by the host searching unit 512 is provided with a web service,and outputs the result to the port information fetching unit 516.

The web service inspecting unit 514 inspects whether the host 400 isprovided with the Internet or an intranet as the web service.

The port information fetching unit 516 fetches and receives HTTP portinformation from the host 400 if the searched host 400 is provided witha web service, and outputs the received port information to thedetecting unit 518.

If the searched host 400 is provided with a web service, the scanner 500can receive HTTP documents. Therefore, the port information fetchingunit 516 fetches HTTP port information previously stored in the searchedhost 400 and receives the fetched HTTP port information.

The detecting unit 518 interprets the port information provided from theport information fetching unit 516 and detects port informationregarding the port set in the host 400, and outputs the detected portinformation to the data transmitting unit 530.

If the searched host 400 is not provided with a web service, the scanner500 cannot fetch and receive HTTP port information.

Therefore, the detecting unit 518 directly searches ports of thesearched host 400 sequentially to detect a port previously set by thehost 400. A lot of time is consumed because the detecting unit 518searches the ports sequentially. Thus, as described above, the timeconsumed for searching the port can be reduced by the port setting unit410 subdividing a setting region of the port into predetermined ranges.

The data transmitting unit 530 transmits the scanned data to the host400 via a port corresponding to the port information detected by thedetecting unit 518.

A method and system for transmitting scanned data from a network scannerto a host according to exemplary embodiments of the present inventioneliminates the inconvenience of having to search a scanner from a hostand then receiving scanned data when using a network scanner. Inaddition, the scanned data can be directly transmitted from the networkscanner to the host.

While the present invention has been particularly shown and describedwith reference to certain exemplary embodiments thereof, it will beunderstood by those skilled in the art that various changes in form anddetails may be made therein without departing from the spirit and scopeof the present invention as defined by the following claims.

1. A method of transmitting scanned data from a network scanner to ahost, the method comprising: setting a port in a host to receive scanneddata when the host and a scanner are connected via a network; accessingthe host from the scanner to detect port information regarding the setport; and transmitting the scanned data from the scanner to the host viathe port corresponding to the detected port information.
 2. The methodof claim 1, wherein the setting of the port comprises: searching aplurality of ports of the host to detect an unused port; setting theunused port for receiving the scanned data; and generating portinformation according to a hypertext transfer protocol (HTTP) regardingthe set port.
 3. The method of claim 2, wherein the accessing of thehost from the scanner comprises: searching the host using a networkaddress of the host; inspecting whether the searched host is providedwith a web service; fetching and receiving the HTTP port information ifthe searched host is provided with a web service; and interpreting thereceived port information and detecting the port information regardingthe set port.
 4. The method of claim 3, wherein the web service providedto the host comprises at least one of an Internet and an intranet. 5.The method of claim 3, wherein the accessing of the host from thescanner comprises inspecting ports of the searched host sequentially todetect the set port if the searched host is not provided with a webservice.
 6. The method of claim 1, wherein a setting region of the portis subdivided into ranges in the host.
 7. A computer-readable recordingmedium having recorded thereon a program for executing the method ofclaim 1 in a computer.
 8. A system for transmitting scanned data from anetwork scanner to a host, the system comprising: a host comprising aport setting unit which sets a port in the host to receive scanned data;and a scanner comprising a port information detecting unit for accessingthe host to detect port information regarding a set port, and a datatransmitting unit for transmitting the scanned data to the host via theset port corresponding to the detected port information.
 9. The systemof claim 8, wherein the port setting unit comprises: an unused portdetector for detecting ports that are not in use by searching ports ofthe host; a setting unit for setting at least one of the unused ports asa port for receiving the scanned data; and a port information generatorfor generating port information according to hypertext transfer protocol(HTTP) regarding the set port.
 10. The system of claim 9, wherein theport information detecting unit comprises: a host searching unit forsearching the host using a network address of the host; a web serviceinspecting unit for inspecting whether the searched host is providedwith a web service; a port information fetching unit for at least one offetching and receiving the HTTP port information if the searched host isprovided with the web service; and a detecting unit for interpreting thereceived port information and detecting the port information regardingthe set port.
 11. The system of claim 10, wherein the web servicecomprises at least one of an Internet and an intranet.
 12. The system ofclaim 10, wherein the detecting unit inspects ports of the searched hostsequentially to detect the set port if the searched host is not providedwith a web service
 13. The system of claim 8, wherein a setting regionof the port is subdivided into ranges in the host.
 14. The system ofclaim 8, wherein the scanner is connected to the host via a network.